package com.liuhung.ash.security.entity;

import com.liuhung.base.entity.BaseEntity;
import java.util.List;
/**
 * 
 * <br>
 * <b>功能：</b>UsersEntity<br>
 */
public class Users extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2963537687478808052L;
	private java.lang.Integer id;//   主键	private java.lang.String username;//   用户名	private java.lang.String password;//   密码	private java.lang.String tel;//   电话	private java.lang.String email;//   邮箱	private java.lang.Integer organid;//   职位	
	private Organ organ;
	private List<Role> roles;
	private List<Permission> permissions;
		public java.lang.Integer getId() {	    return this.id;	}	public void setId(java.lang.Integer id) {	    this.id=id;	}	public java.lang.String getUsername() {	    return this.username;	}	public void setUsername(java.lang.String username) {	    this.username=username;	}	public java.lang.String getPassword() {	    return this.password;	}	public void setPassword(java.lang.String password) {	    this.password=password;	}	public java.lang.String getTel() {	    return this.tel;	}	public void setTel(java.lang.String tel) {	    this.tel=tel;	}	public java.lang.String getEmail() {	    return this.email;	}	public void setEmail(java.lang.String email) {	    this.email=email;	}	public java.lang.Integer getOrganid() {	    return this.organid;	}	public void setOrganid(java.lang.Integer organid) {	    this.organid=organid;	}	public Organ getOrgan() {
		return organ;
	}
	public void setOrgan(Organ organ) {
		this.organ = organ;
	}
	public List<Permission> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}
	public List<Role> getRoles() {
		return roles;
	}
	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
}

